package com.xlh.dokka.svc.core.client;

import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @author cheer
 */
@Data
public class ContainerInspectResponse {

    private String Id;

    private String Name;

    private State State;

    private HostConfig hostConfig;

    private NetworkSettings NetworkSettings;

    @Data
    public class State {

        private String Status;
    }

    @Data
    public class HostConfig {

        private Long memory;

        private Long CpuPeriod;

        private Long CpuQuota;
    }

    @Data
    public class NetworkSettings {

        private Map<String, List<Map<String, String>>> Ports;

        private Map<String, Map<String, String>> Networks;
    }

}
